import 'package:json_annotation/json_annotation.dart';

part 'addressItemModel.g.dart';

@JsonSerializable()
class AddressItemModel {
  AddressItemModel();

  @JsonKey(name: '_id') String? id;
  String? uid;
  String? name;
  String? phone;
  String? address;
  // 是否默认收货地址
  num? default_address;
  num? status;
  num? add_time;
  
  factory AddressItemModel.fromJson(Map<String,dynamic> json) => _$AddressItemModelFromJson(json);
  Map<String, dynamic> toJson() => _$AddressItemModelToJson(this);
}
